# -*- coding: utf-8 -*-
# @description: 
# @File  : client.py
# @Time  :2020-03-21 10:35:46
# @Author:selfeasy

from werkzeug.middleware.shared_data import SharedDataMiddleware
import os
def app1(env, start_response):
    start_response('200 OK', [('Content-Type', 'application/json')])
    return str(env['wsgi.run_once'])


app = SharedDataMiddleware(app1, {'/static':os.path.join(os.path.dirname(__file__),'1.jpg')})